package me.tianle.login.service;

import me.tianle.login.model.Permission;
import me.tianle.login.model.User;

import java.util.List;

public interface UserService {

    User findByUsername(String username);

    User findRole(Integer uid);

    List<Permission> findPermission(Integer uid);

}
